from django.shortcuts import render,reverse
from django.http import HttpResponse
# Create your views here.
# def login(request):
#     return HttpResponse(f"{reverse('login')}")

def url_path(request):
    # return HttpResponse(f'当前url为:{reverse("app04:url_path")}')
    return HttpResponse(f'当前url为:{(reverse("app04:url_path",current_app=request.resolver_match.namespace))}')